from app import app
from flask_cors import CORS
from comm.config import Config
from views.tool import tool_bp


app.config.from_object(Config)
CORS(app)

# 注册蓝图
app.register_blueprint(tool_bp)


if __name__ == '__main__':
    app.run()